package com.jnshu.dao;

import com.jnshu.dto.sign.UserSignDto;
import com.jnshu.pojo.Sign;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SignMapper {
    //根据id删除
    int deleteById(Long id);
    //动态添加
    int insertSelective(Sign record);
    //根据用户id查询签到表
    Sign selectByUserId(Long id);
    //根据id动态修改
    int updateByIdSelective(Sign record);
    //根据用户id连表查询签到信息
    UserSignDto selectById(Long id);

}